var rootView = ui("$");
var chatName = ui("chatName");
rootView.setMapping({
	"text.text" : "text",
	"chatName.text":"name",
	"imgHerLogo.source" : "logo",
	"imgHerLogo.tag" : "userId"
});
rootView.on("dataRefreshed", function(){
	if(chatName.text) chatName.visible = true;
	ui("do_LinearLayout_1").redraw();
});
var openHelper = require("helper/open");
ui("do_ALayout_logo").on("touch", function(data){
	if(chatName.text && chatName.text != ""){
		var userId = ui("imgHerLogo").tag;
		if(userId!=null){
			openHelper.openPersonal(userId);//到他的主页
		}
	}
});